package com.fjl.boot;

import org.springframework.boot.ApplicationArguments;
import org.springframework.boot.ApplicationRunner;
import org.springframework.stereotype.Component;

// 13. ApplicationRunner 启动后执行
@Component
class MyApplicationRunner implements ApplicationRunner {
    @Override
    public void run(ApplicationArguments args) {
        System.out.println(">> ApplicationRunner.run with args: " + args.getOptionNames());
    }
}